package com.lzx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lzx.entity.Ip;
import com.lzx.mapper.IpMapper;
import com.lzx.service.IpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lzx
 * @since 2020-12-20
 */
@Service
public class IpServiceImpl extends ServiceImpl<IpMapper, Ip> implements IpService {
    @Autowired
    IpMapper ipMapper;

    public List<Ip> getOneByRand(){
        return ipMapper.getOneByRand();
    }

}
